<?php
/**
 * Interface for variable handlers.
 * @author dengdl
 *
 */
interface Workflow_VariableHandler
{
	/**
     * Load the variable $variableName that is handled by this handler.
     *
     * @param Workflow_Execution $execution
     * @param string               $variableName
     */
    public function load( Workflow_Execution $execution, $variableName );

    /**
     * Save the variable $variableName that is handled by the variable handler
     * with the value $value.
     *
     * @param Workflow_Execution $execution
     * @param string               $variableName
     * @param mixed                $value
     */
    public function save( Workflow_Execution $execution, $variableName, $value );
}
?>